package com.xianyun.site.support.api;

import com.alibaba.cola.dto.Response;
import com.alibaba.fastjson.JSONObject;
import com.xianyun.site.support.dto.ReceiveCmd;
import javax.validation.Valid;

/**
 * @author mac_zyj
 */
public interface ReceiveService {

    /**
     * 发送接收消息 （一对一 一对多 ........）
     * @param receiveCmd 接收的前置数据
     * @param receiveObject 所有数据实体
     * @return
     */
    Response sendSupportMessage(@Valid ReceiveCmd receiveCmd, JSONObject receiveObject);
}
